package com.study.mapper;


import com.study.entity.Clazz;
import com.study.entity.ClazzQueryParam;
import com.study.entity.InfoCount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ClazzMapper {
     List<Clazz> list(ClazzQueryParam param);

     void delete(Integer id);

     void insert(Clazz clazz);

     Clazz getByid(Integer id);

     void update(Clazz clazz);

     List<Clazz> selectAll();

    List<InfoCount> countNum();
}
